//
//  File.swift
//
//
//  Created by didi on 2022/9/7.
//

public final class HookFunctionPointer<Pointer> {
    public var name: String
    public var pointer: Pointer
    public var returnType: Any.Type
    public var priority: Int

    public init(name: String,
                function: Pointer,
                returnType: Any.Type,
                priority: Int = 100) {
        self.name = name
        pointer = function
        self.returnType = returnType
        self.priority = priority
    }
}
